<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>添加用户</title>
    <!--<link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">-->
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
</head>

<body>

<div style="width:400px;height:100%;margin-left:450px;margin-top:100px;">
    <form action="/api/v1/user/add" method="post">
        姓 名：<input class="form-control"  type="text" th:value="${userName}" name="userName"><br>
        年 龄：<input class="form-control" type="text" th:value="${userAge}" name="userAge"><br>
        住 址：<input class="form-control" type="text" th:value="${userAddr}" name="userAddr"><br>
        性 别：<input class="form-control" type="text" th:value="${userSex}" name="userSex"><br>
        电话号码：<input class="form-control" type="text" th:value="${userPhone}" name="userPhone"><br>
        <button class="btn btn-primary btn-lg btn-block">保存</button>
    </form>
</div>

</body>
</html>


